package com.sharding.jdbc.service;

import com.sharding.jdbc.bean.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * description: UserService
 * date: 2020/5/5 0005 9:12
 * author: xiayz
 * version: 1.0
 */
@Service
public interface UserService {
    void save(User address);

    User get(@Param("id") Long id);

    List<User> pagingUser(Map<String,Object> params);
}
